﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KingerRobot.PCRMES.Dao;

partial class Db : K8.EF.DbContext
{
    /// <summary>
    ///钢圈产出信息 Orcale：I_WMS_PRODUCTION表
    /// </summary>
    public DbSet<i_wms_production> WmsProductions { get; set; }
}

[Table("i_wms_production")]
public class i_wms_production
{
    /// <summary>
    /// 主键
    /// </summary>
    [Key]
    [Column("production_id")]
    public string PRODUCTION_ID { get; set; }
    /// <summary>
    /// 产出的设备号码
    /// </summary>
    [Column("equip_name")]
    public string EQUIP_NAME { get; set; }
    /// <summary>
    /// 1：代表设备产出 2:余料回库 
    /// </summary>
    [Column("source_type")]
    public string SOURCE_TYPE { get; set; }
    /// <summary>
    /// 批次号码 例如：201607100001
    /// </summary>
    [Column("batch_name")]
    public string BATCH_NAME { get; set; }
    /// <summary>
    /// 产出的RFID工装号码 
    /// </summary>
    [Column("rfid_no")]
    public string RFID_NO { get; set; }
    /// <summary>
    /// 产出的物料编号  
    /// </summary>
    [Column("part_number")]
    public string PART_NUMBER { get; set; }
    /// <summary>
    /// 重量或者数量 
    /// </summary>
    [Column("quantity")]
    public float? QUANTITY { get; set; }
    /// <summary>
    /// 生产时间 
    /// </summary>
    [Column("produce_time")]
    public DateTime? PRODUCE_TIME { get; set; }
    /// <summary>
    /// 0:未放行(默认值)
    ///2:禁止放行
    ///1:允许放行
    ///* 软控只关注该字段，判定产品是否出库
    /// </summary>
    [Column("pass_flag")]
    public string PASS_FLAG { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    [Column("create_time")]
    public DateTime? CREATE_TIME { get; set; }
    /// <summary>
    /// 创建人员 
    /// </summary>
    [Column("create_user")]
    public string CREATE_USER { get; set; }
    /// <summary>
    /// 更新时间 
    /// </summary>
    [Column("last_modified_time")]
    public DateTime? LAST_MODIFIED_TIME { get; set; }
   
    /// <summary>
    /// 备注信息 
    /// </summary>
    [Column("remarks")]
    public string REMARKS { get; set; }
    /// <summary>
    /// 更新标志 1:新增 2:删除 0;复位
    /// </summary>
    [Column("update_flag")]
    public int? UPDATE_FLAG { get; set; }
    /// <summary>
    /// 仓库号
    /// </summary>
    [Column("storage_no")]
    public string STORAGE_NO { get; set; }

    /// <summary>
    /// 更新人员
    /// </summary>
    [Column("last_modified_user")]
    public string LAST_MODIFIED_USER { get; set; }

    /// <summary>
    /// 未知
    /// </summary>
    [Column("part_desc")]
    public string PART_DESC { get; set; }
    /// <summary>
    /// 未知
    /// </summary>
    [Column("sn")]
    public string SN { get; set; }
    /// <summary>
    /// 成型物料编号
    /// </summary>
    [Column("mpartnumber")]
    public string MPARTNUMBER { get; set; }
    /// <summary>
    /// 成型物料版本
    /// </summary>
    [Column("mpartrevision")]
    public string MPARTREVISION { get; set; }
  
    /// <summary>
    /// 跟踪号
    /// </summary>
    [Column("tracecode")]
    public string TRACECODE { get; set; }
    /// <summary>
    /// 未知
    /// </summary>
    [Column("left_right_flag")]
    public string LEFT_RIGHT_FLAG { get; set; }
    /// <summary>
    /// 班次值
    /// </summary>
    [Column("shift_value")]
    public string SHIFT_VALUE { get; set; }
    /// <summary>
    /// 班组值
    /// </summary>
    [Column("class_value")]
    public string CLASS_VALUE { get; set; }
    /// <summary>
    /// 未知
    /// </summary>
    [Column("equip_desc")]
    public string EQUIP_DESC { get; set; }
    /// <summary>
    /// 车次
    /// </summary>
    [Column("lot_no")]
    public string LOT_NO { get; set; }
    /// <summary>
    /// 车次
    /// </summary>
    [Column("bizdate")]
    public string BizDate { get; set; }
    /// <summary>
    /// 车次
    /// </summary>
    [Column("target_equip")]
    public string TargetEquip { get; set; }
    /// <summary>
    /// 有效期
    /// </summary>
    [Column("expiration_time")]
    public DateTime? EXPIRATION_TIME { get; set; }
    /// <summary>
    /// 钢圈内径
    /// </summary>
    [Column("innerdiameter")]
    public float? INNERDIAMETER { get; set; }
}

